home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Networking ƒ / ATP Sample App / packets / packets.h < prev    next >
Encoding:
Text File  |  1989-07-26  |  420 b   |  18 lines  |  [TEXT/KAHL]

  1. typedef unsigned char byte;
  2. typedef int word;
  3. typedef unsigned int uword;
  4. typedef unsigned long ulong;
  5.  
  6. typedef struct {
  7.     uword    na_network;
  8.     byte    na_node;
  9.     byte    na_socket;
  10. } NetAddress;
  11.  
  12. #define    DEFAULT_DELAY    0        /* default delay in ticks */
  13. #define    DEFAULT_SIZE    512        /* default packet size */
  14.  
  15. #define TEST_SIZE_K    5000        /* default test size in kbytes */
  16.  
  17. #define    DEFAULT_BDS_COUNT 8        /* default # of response packets */
  18.